This week in Flutter #66: Static metaprogramming. What?
I was looking at the upcoming changes in the Dart language, and in particular
at static metaprogramming.
With static metaprogramming, you can use build_runner
s to inspect and modify
existing code in your project.
Searching for more, I found Static Metaprogramming in Dart and Flutter: macro_prototype overview by Sandro Maglione.
The implementation is still under discussion, but it is a good idea to start testing it out already.
Are you going to experiment with static metaprogramming? What are you going to build with it?
- Michele Volpato
Development π§βπ»
π Functional Error Handling with Either and fpdart in Flutter: An Introduction
I mentioned Sandro Maglione in the introduction and this article is using a package maintained by Sandro: fpdart. The article, by Andrea Bizzotto, is about improving the readability of error handling in Flutter by using functional programming.
π Making a gamepad for my Flutter game
Andrei Diaconu implements a Flutter game, using Flame, suitable for the Surface Duo, with the control UI separated from the game view. You can also watch the video version of this article.
π Personal Thoughts on Flutter Chart Packages
Do you need to add charts to your Flutter app? Too many packages to choose from? Which Flutter chart package is the best? May Lau has summarized the main ones in this article.
π Flutter for Windows Desktop: Getting Started
Do you want to migrate your Flutter app to Windows? Or maybe you have a new idea for a Windows app made in Flutter? Read this beginner tutorial by Karol WrΓ³tniak.
Others π€·ββοΈ
π Debug properties | Decoding Flutter
What is the purpose of the debugFillProperties
method? You can use it to add
helpful debug information to a widget. Learn more in
this episode of Decoding Flutter presented by Renuka Kelkar.
That’s it for this week.
If you want to comment on any of this week’s entries, you can do it in the comment section below.
Have a bug-free week,
- Michele Volpato
Leave a comment